package com.smartalarmclock.Model.Exceptions;

import com.smartalarmclock.Model.IContact;

@SuppressWarnings("serial")
public final class VIPAlreadyExistsException extends InvalidSaveDataEntityOperationException {

	/**
	 * Constructor
	 * @param contact the contact of the VIP
	 */
	public VIPAlreadyExistsException(IContact contact) {
		super(String.format("VIP for the contact with the id %d already exists.", contact.GetId()));
	}
}
